package net.maku.module.organization.convert;

import net.maku.module.organization.entity.PositionEntity;
import net.maku.module.organization.vo.PositionVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_职位管理
*
* @author    
*/
@Mapper
public interface PositionConvert {
    PositionConvert INSTANCE = Mappers.getMapper(PositionConvert.class);

    PositionEntity convert(PositionVO vo);

    PositionVO convert(PositionEntity entity);

    List<PositionVO> convertList(List<PositionEntity> list);

}